package com.permission.service.impl;

import com.permission.dao.PerRoleDao;
import com.permission.model.PerRole;
import com.permission.service.PerRoleService;
import com.solution.framework.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with generator tools.
 * User: sunguangzhu
 * DateTime:2014-05-07 12:48:37
 */
@Service
public class PerRoleServiceImpl extends BaseServiceImpl<PerRole> implements PerRoleService {
    @Resource
    private PerRoleDao perRoleDao;

    @Override
    public List<PerRole> getAvaliblePerRoles(Long perUserId) {
         return this.perRoleDao.getAvaliblePerRoles(perUserId);
        //To change body of implemented methods use File | Settings | File Templates.
    }
}

